<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改专家经费')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-jingfeidetail-edit" th:object="${jingfeiDetail}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">专家ID：</label>
                <div class="col-sm-8">
                    <input name="zhuangjiaid" th:field="*{zhuangjiaid}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">单位ID：</label>
                <div class="col-sm-8">
                    <input name="deptid" th:field="*{deptid}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">经费批次ID：</label>
                <div class="col-sm-8">
                    <input name="jingfeipiciid" th:field="*{jingfeipiciid}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">经费批次名称：</label>
                <div class="col-sm-8">
                    <input name="jingfeipicimingcheng" th:field="*{jingfeipicimingcheng}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">实发金额：</label>
                <div class="col-sm-8">
                    <input name="shifajine" th:field="*{shifajine}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">补发金额：</label>
                <div class="col-sm-8">
                    <input name="bufajine" th:field="*{bufajine}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否全额：</label>
                <div class="col-sm-8">
                    <input name="isquane" th:field="*{isquane}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否补发：</label>
                <div class="col-sm-8">
                    <input name="isbufa" th:field="*{isbufa}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否停发：</label>
                <div class="col-sm-8">
                    <input name="istingfa" th:field="*{istingfa}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">停发年月：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="tingfanianyue" th:value="${#dates.format(jingfeiDetail.tingfanianyue, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否收到拨款：</label>
                <div class="col-sm-8">
                    <input name="isshoudao" th:field="*{isshoudao}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否有效：</label>
                <div class="col-sm-8">
                    <input name="isvalid" th:field="*{isvalid}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">备注1：</label>
                <div class="col-sm-8">
                    <input name="beizhu1" th:field="*{beizhu1}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">备注2：</label>
                <div class="col-sm-8">
                    <input name="beizhu2" th:field="*{beizhu2}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">备注3：</label>
                <div class="col-sm-8">
                    <input name="beizhu3" th:field="*{beizhu3}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">备注4：</label>
                <div class="col-sm-8">
                    <input name="beizhu4" th:field="*{beizhu4}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">备注5：</label>
                <div class="col-sm-8">
                    <input name="beizhu5" th:field="*{beizhu5}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <script th:inline="javascript">
        var prefix = ctx + "system/jingfeidetail";
        $("#form-jingfeidetail-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-jingfeidetail-edit').serialize());
            }
        }

        $("input[name='tingfanianyue']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
    </script>
</body>
</html>